﻿Imports DAO
Imports DTO
Imports System.Data.Linq

Public Class KhoBus
    Public Shared Function LayBang() As Table(Of Kho)
        Return KhoDao.LayBang()
    End Function

    Public Shared Function LayDanhSach() As IEnumerable(Of Kho)
        Dim lst As IEnumerable(Of Kho)
        lst = KhoDao.LayDanhSach()
        Return lst
    End Function

    Public Shared Function LayNganChua(ByVal m As Integer) As Kho
        Return KhoDao.LayNganChua(m)
    End Function

    Public Shared Sub Them(ByVal t As Kho)
        KhoDao.Them(t)
    End Sub

    Public Shared Sub CapNhat_muontra(ByVal k As Kho)
        KhoDao.CapNhat_muontra(k)
    End Sub

    Public Shared Sub CapNhat(ByVal k As Kho)
        KhoDao.CapNhat(k)
    End Sub
End Class
